[t:/]$ 지식_

DirectFB S3C6410 Performance Test

2009/01/07

Linux, DirectFB, s3c6410, framebuffer.

예제에 있는 df-dok 실행결과.

kernel 설정

framebuffer 1개, double buffering. 1개
virtual 은 쓰지 않음.

gcc 정보

Using built-in specs.
Target: arm-samsung-linux-gnueabi
Configured with: /home/scsuh/workplace/final/toolchain-script/toolchain_build_arm/gcc-4.3.1/configure --prefix=/usr --build=i386-pc-linux-gnu --host=i386-pc-linux-gnu --target=arm-samsung-linux-gnueabi --enable-languages=c,c++ --with-sysroot=/usr/local/arm/4.3.1-eabi-armv6 --with-build-time-tools=/usr/local/arm/4.3.1-eabi-armv6/usr/arm-samsung-linux-gnueabi/bin --enable-__cxa_atexit --enable-target-optspace --with-gnu-ld --with-pkgversion='for S3C64XX Samsung Electronics AP Development Team' --enable-shared --with-gmp=/usr/local/arm/4.3.1-eabi-armv6/gmp --with-mpfr=/usr/local/arm/4.3.1-eabi-armv6/mpfr --disable-nls --enable-threads --disable-multilib --disable-decimal-float --with-arch=armv6 --with-float=softfp --with-fpu=vfp --enable-symvers=gnu
Thread model: posix
gcc version 4.3.1 (for S3C64XX Samsung Electronics AP Development Team) 

DirectFB Build 설정

Build options:
  Version                   1.3.0
  Linux powered             yes
  Install prefix            /dfb
  Config files in           /dfb/etc
  Build shared libs         yes
  Build static libs         no
  Module directory          ${exec_prefix}/lib/directfb-1.3-0
  CPPFLAGS                  -D_REENTRANT 
  CFLAGS                    -O3 -ffast-math -pipe -fno-delete-null-pointer-checks -I/dfb/include -D_GNU_SOURCE  -Werror-implicit-function-declaration
  LDFLAGS                   -L/dfb/lib
  LIBS                      -ldl -lpthread 
  DYNLIB                    -ldl
  THREADFLAGS               -D_REENTRANT
  THREADLIBS                

Misc options:
  Multi Application Core    no
  Fusion Kernel Device      N/A
  Fusion message size       1024
  Voodoo (network support)  no
  Debug supported           yes
  Debug enabled             no
  Trace support             no
  MMX support               no
  SSE support               no
  Network support           yes
  Include all strings       yes
  Software Rendering        yes
  Smooth SW Scaling         no
  zlib compression          no                 -lz
  sysfs support             yes                 -lsysfs

Building Tests              yes
Building Tools              yes

Building System Modules:
  Linux FBDev support       yes
  Generic /dev/mem support  yes
  X11 support               no                     
  OSX support               no                     
  SDL support               no                     
  VNC support               no                     

Building Window Manager Modules:
  Default                   yes
  UniQuE                    no

Building Image Provider Modules:
  GIF                       yes
  JPEG                      yes                 -ljpeg
  PNG                       yes                 -lpng12

Building Video Provider Modules:
  GIF                       yes
  Video4Linux               yes (v2: no)

Building Font Modules:
  FreeType2                 yes                 -I/dfb/include/freetype2 -I/dfb/include      -L/dfb/lib -lfreetype -lz  
  Default font              yes

Building Graphics Drivers:
  3Dfx Voodoo               no
  ATI Mach64                no
  ATI Rage 128              no
  ATI Radeon                no
  Cirrus EP9X               no
  Intel i810                no
  Intel i830                no
  Matrox                    no
  NeoMagic                  no
  NSC Geode                 no
  nVidia                    no
  Renesas SH7722            no
  S3 Savage                 no
  SiS 315                   no
  TI Davinci                no
  TI OMAP                   no
  TVIA CyberPro             no
  VIA CLE266                no
  VIA UniChrome             no
  VMWare                    no
  --
  OpenGL                    no (GLX: no)

Building Input Drivers:
  DBox2 Remote              no
  DreamBox Remote           no
  Dynapro Touchscreen       no
  ELO Touchscreen           no
  Gunze Touchscreen         no
  H3600 Touchscreen         no
  Joystick                  no
  Keyboard                  no
  Linux Input               yes
  LiRC                      no
  MuTouch touchscreen       no
  PS/2 Mouse                no
  Serial Mouse              no
  SonyPI Jogdial            no
  tslib                     yes                  -I/dfb/include    -lts
  ucb1x00 Touchscreen       no
  WM97xx Touchscreen        no

성능측정 결과.

Benchmarking 256x256 on 800x464 RGB16 (16bit)...

Anti-aliased Text                              3.070 secs (   38.697 KChars/sec)
 [100.0%]
Anti-aliased Text (blend)                      3.204 secs (   16.853 KChars/sec)
 [100.0%]
Fill Rectangle                                 3.008 secs (   23.965 MPixel/sec)
 [100.3%]
Fill Rectangle (blend)                         3.214 secs (    4.078 MPixel/sec)
 [100.3%]
Fill Rectangles [10]                           5.223 secs (   25.095 MPixel/sec)
 [100.1%]
Fill Rectangles [10] (blend)                  15.924 secs (    4.115 MPixel/sec)
 [100.0%]
Fill Triangles                                 3.088 secs (   21.222 MPixel/sec)
 [100.3%]
Fill Triangles (blend)                         3.327 secs (    3.939 MPixel/sec)
 [100.3%]
Draw Rectangle                                 3.023 secs (    3.307 KRects/sec)
 [100.0%]
Draw Rectangle (blend)                         3.083 secs (    1.167 KRects/sec)
 [100.0%]
Draw Lines [10]                                3.009 secs (   17.613 KLines/sec)
 [100.3%]
Draw Lines [10] (blend)                        3.133 secs (    5.745 KLines/sec)
 [100.0%]
Fill Spans                                     3.143 secs (   22.936 MPixel/sec)
 [100.0%]
Fill Spans (blend)                             3.256 secs (    4.025 MPixel/sec)
 [100.0%]
Blit                                           3.008 secs (   41.395 MPixel/sec)
 [100.3%]
Blit 180                                       3.387 secs (   11.609 MPixel/sec)
 [100.0%]
Blit colorkeyed                                3.404 secs (   15.402 MPixel/sec)
 [100.2%]
Blit destination colorkeyed                    3.872 secs (    6.770 MPixel/sec)
 [100.0%]
Blit with format conversion                    3.188 secs (   16.445 MPixel/sec)
 [100.0%]
Blit with colorizing                           3.750 secs (    6.990 MPixel/sec)
 [100.0%]
Blit from 32bit (blend)                        5.091 secs (    2.574 MPixel/sec)
 [100.0%]
Blit from 32bit (blend) with colorizing        5.630 secs (    2.328 MPixel/sec)
 [100.0%]
Stretch Blit                                   3.404 secs (   20.327 MPixel/sec)
 [100.0%]
Stretch Blit colorkeyed                        3.877 secs (   12.827 MPixel/sec)
 [100.2%]

[root@glibc bin]# 




공유하기













[t:/] is not "technology - root". dawnsea, rss